home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / more13.zip / STRINGS.DOC < prev   
Text File  |  1990-06-25  |  3KB  |  66 lines

  1. STRINGS.COM v1.1 -- String Finder
  2.  
  3. Syntax: STRINGS <filename> [<min_chars>] [/X]
  4.  
  5.     STRINGS  looks  through  the  file    <filename>  and  finds    all  strings of
  6. printable  characters  (that  is,  consisting  of only ascii characters between
  7. space and tilde,  or 32 to  126). The strings  have to be  at least <min_chars>
  8. long to  qualify; they    default for  min_chars is  4. If  you would  prefer the
  9. location to be displayed in hex format, use the /X switch.
  10.  
  11.     You can also use  the /C switch (no  other arguments are valid  or accepted
  12. when this is used) to display  a copyright message, which includes the    version
  13. of STRINGS and its compile date. Many  times, a new version will not receive  a
  14. new version number, only a new compile date, so you will have to go by that  in
  15. determining if you need (or want) an upgrade.
  16.  
  17.     STRINGS sends its output to DOS's  standard output. This means that it  can
  18. be piped into another program or into a file.
  19.  
  20.     STRINGS's output looks  like this (which  is STRINGS run  on itself with  a
  21. <min_chars> of 8)
  22.  
  23. Offset    String
  24. 8324    Turbo-C - Copyright (c) 1988 Borland Intl.
  25. 8367    Divide error
  26. 8381    Abnormal program termination
  27. 8700    STRINGS v1.1 dated Jun 22 1990, Copyright 1990 by Daniel Sachs.
  28. 8764    strings: syntax <filename> [<min_chars>] [/X]
  29. 8819    strings: unable to open file
  30. 8848    strings: unable to allocate storage
  31. 9023         !!!!!
  32. 9056    @@@@@@@@@@@@@@@
  33. 9658    print scanf : floating point formats not linked
  34. 9717    0123456789ABCDEF
  35. ^    ^
  36. |    |______ The string
  37. |
  38. |______________ The location in the file (measured in bytes from the beginning)
  39.  
  40.     STRINGS will  work properly  on any  type of  file, but  is more  useful on
  41. program and data files which are in binary format. This would allow you to  see
  42. what  the  program  does  or  the  data  file  means, or be used as a guide for
  43. modifying messages in  programs (STRINGS will  NOT modify the  messages itself;
  44. you have  to use  a program  such as  DEBUG. But  finding the  messages is much
  45. simpler if you have something to work from.)
  46.  
  47.     Strings is licensed under the "Bannerware" concept; anyone and everyone who
  48. wants to use  it may and  is granted a    nonexclusive licensed to  do so and  to
  49. distribute it (along with the this documentation) in unmodified form to  anyone
  50. who  could  benefit  from  it.    However,  the  program is still copyrighted and
  51. therefore it is illegal to distribute modified versions.
  52.  
  53.     Now for a sales pitch:
  54.  
  55.     I also have a shareware  file/pipe viewing program called MORE  which works
  56. very well with STRINGS    and allows you to  scroll 4 ways through  the file, and
  57. also  supports    DOS  piping  syntax.  It  also    supports searching for words or
  58. phrases,  customizable    color  schemes,  launching  editors,  and writing files
  59. collected  from  other    programs  (such  as  STRINGS)  to  disk, and disk based
  60. configuration. It can view files up to size of memory or 15,000 lines, and is a
  61. much simpler alternative to Vern Berg's List; the total size of the  program is
  62. about 32k. A $5 shareware fee is requested.
  63.  
  64.     STRINGS program and document copyright (C) 1990 by Daniel Sachs. All rights
  65. reserved.
  66.